import './assets/main.css'
import "normalize.css"//样式初始化

import { createApp } from 'vue'
import App from './App.vue'

import * as ElementPlusIconsVue from '@element-plus/icons-vue' //引入图标

//引入mock
import "./mock"


// import ElementPlus from 'element-plus'
// import 'element-plus/dist/index.css'

//1.初始化Vue实例

const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
//2.引入配置好的各种实例化对象
import router from './router'
import store from './store'
import i18n from './i18n'

//3.挂载各种实例化对象
app.use(router)
app.use(store)
app.use(i18n)
// app.use(ElementPlus)

app.mount('#app')
